<script setup>

</script>

<template>
    <div class="login-container">
        <el-card style="max-width: 480px">
    <template #header>
      <div class="card-header">
        <span>用户登录</span>
      </div>
    </template>
  <el-form>
    <el-form-item label="用户名" label-width="70px">
      <el-input />
    </el-form-item>
    <el-form-item label="密码" label-width="70px">
      <el-input />
    </el-form-item>
    <div class="button-container">
        <el-button>重置</el-button>
        <el-button type="primary">提交</el-button>
    </div>
  </el-form>
</el-card>
    </div>
</template>


<style scoped>
.login-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.button-container{
    display: flex;
    justify-content: center;
    gap:50px;
}
.el-input {
    width: 100%;
}
.el-form-item {
    display: flex;
    align-items: center;
}
.el-form-item__label {
    text-align: right;
    flex: 0 0 100px;
}
</style>